import request from '@/utils/request'

// 查询中间表列表
export function listHgexpendegress(query) {
  return request({
    url: '/Expend/hgexpendegress/list',
    method: 'get',
    params: query
  })
}

// 查询中间表详细
export function getHgexpendegress(id) {
  return request({
    url: '/Expend/hgexpendegress/' + id,
    method: 'get'
  })
}

// 新增中间表
export function addHgexpendegress(data) {
  return request({
    url: '/Expend/hgexpendegress',
    method: 'post',
    data: data
  })
}

// 修改中间表
export function updateHgexpendegress(data) {
  return request({
    url: '/Expend/hgexpendegress',
    method: 'put',
    data: data
  })
}

// 删除中间表
export function delHgexpendegress(id) {
  return request({
    url: '/Expend/hgexpendegress/' + id,
    method: 'delete'
  })
}
